#include <stdio.h>

int main() {
    int A, B;
    scanf("%d %d", &A, &B);

    if (A == 0) { 
        if (B == 1) {
            printf("-\nstop\n");
        } else {
            printf("biii\nstop\n");
        }
    } else if (A == 1) { 
        if (B == 1) {
            printf("-\nmove\n");
        } else {
            printf("dudu\nmove\n");
        }
    } else if (A == 2) {
        printf("-\nstop\n");
    }

    return 0;
}
